OnBeaconListener

Interface for receiving callbacks when beacon-related events occur, such as detecting nearby iBeacons or Eddystone beacons.

Implementations of this listener can be used to trigger actions based on proximity to beacons, enabling features like location-aware content, proximity marketing, or device interaction based on physical location.

The specific type of beacon event (e.g., entering a beacon's range, exiting, or a simple proximity update) is determined by inspecting the getPingType of the received Beacon object within the onBeacon callback.

This listener is typically registered with a beacon scanning service or manager within the RevelDigital player environment.

See also

Functions

Link copied to clipboard
abstract fun onBeacon(beacon: Beacon)
Called when a beacon event is detected by the player.